/**
 * @date 2:39:56 PM
 * EducationSchoolResponse.java
 * Administrator
 * TODO
 */
package com.qs.education.bean.beans;

import java.util.ArrayList;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.qs.education.bean.api.ResponseBean;
import com.qs.education.bean.entity.EducationStudent;
import com.qs.education.bean.entity.EducationTeacher;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @class EducationSchoolResponse	
 * @author Warren
 * @description
 * @date Nov 7, 2018 
 */
@Data
@EqualsAndHashCode(callSuper=true)
public class EducationSchoolResponse extends ResponseBean{
	private Long id;
	private String name;
	private String province;
	private String city;
	private String area;
	
	@JsonIgnoreProperties(value = { "school","groups","grade","clazz"})
	private List<EducationStudent> students = new ArrayList<EducationStudent>();
	
	@JsonIgnoreProperties(value = { "group","school","groups","subject","homeWorkList"})
	private List<EducationTeacher> teachers = new ArrayList<EducationTeacher>();

}
